<ion-view view-title="消息">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content ng-class="{'has-loading': isOffline}">
        <ul class="list Mt10 yfs2">
            <li ng-repeat="message in userMessages"
                class="item item-text-wrap yitem">
                <a ng-click="detail(message.id)">
                    <div class="text-right clr3 Mt5">
                        <span bo-text="message.date | datetimeFilter"></span>
                        <i class="icon ion-ios-arrow-right"></i>
                    </div>
                    <div class="row">
                        <div class="col-10">
                            <i class="icon ion-record assertive"
                               bo-hide="message.readed"></i>
                        </div>
                        <div class="col-90"
                             bo-text="message.title">
                        </div>
                    </div>
                </a>
            </li>
        </ul>
    </ion-content>
</ion-view>
